﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/ClientTemplateOneColumn.Master" AutoEventWireup="true" CodeBehind="register.aspx.cs" Inherits="Main.client.Register" Title="Đăng ký thành viên" EnableEventValidation="false" %>
<asp:Content ContentPlaceHolderID="Header" runat="server">
    <script src="scripts/check-form.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ContentPlaceHolderID="ContentPlaceHolder" runat="server">
Cám ơn bạn đã tham gia Chợ Dưa, Xin vui lòng điền các thông tin dưới đây để đăng ký vào Chợ.
    <div style=" width:700px; margin:10px auto">
        <form action="" name="FormRegiter" method="post" onsubmit="return CheckFormRegister(this);">
            <table border="0" cellspacing="10">
                <tr>
                    <td></td>
                    <td>
                        <asp:CompareValidator runat="server" Display="Dynamic" ControlToValidate="txtPassword" ControlToCompare="txtRePassword" CssClass="Error" EnableClientScript="false" ErrorMessage="Xác nhận mật khẩu không hợp lệ." SetFocusOnError="true" />
                    </td>
                </tr>
                <tr>
                    <td>Họ tên&nbsp;<span class="require">*</span></td>
                    <td>
                        <asp:TextBox runat="server" ID="txtFullName" CssClass="TextBox BorderRadius TextBoxNewPost"/>
                        <asp:RequiredFieldValidator runat="server" ControlToValidate="txtFullName" ErrorMessage="họ tên?" CssClass="Error" />
                    </td>
                </tr>
                <tr>
                    <td>Email&nbsp;<span class="require">*</span></td>
                    <td>
                        <asp:TextBox runat="server" ID="txtEmail" CssClass="TextBox BorderRadius TextBoxNewPost"/>
                        <asp:RequiredFieldValidator runat="server" ControlToValidate="txtEmail" ErrorMessage="email?" CssClass="Error"/>
                    </td>
                </tr>
                <tr>
                    <td>Tên tài khoản&nbsp;<span class="require">*</span></td>
                    <td>
                        <asp:TextBox runat="server" ID="txtAccount" CssClass="TextBox BorderRadius TextBoxNewPost"/>
                        <asp:RequiredFieldValidator runat="server" ControlToValidate="txtAccount" ErrorMessage="tên tài khoản?" CssClass="Error"/>
                    </td>
                </tr>
                <tr>
                    <td>Mật khẩu&nbsp;<span class="require">*</span></td>
                    <td>
                        <asp:TextBox runat="server" ID="txtPassword" CssClass="TextBox BorderRadius TextBoxNewPost" TextMode="Password"/>
                        <asp:RequiredFieldValidator runat="server" ControlToValidate="txtPassword" ErrorMessage="mật khẩu?" CssClass="Error"/>
                    </td>
                </tr>
                <tr>
                    <td>Xác nhận mật khẩu&nbsp;<span class="require">*</span></td>
                    <td>
                        <asp:TextBox runat="server" ID="txtRePassword" CssClass="TextBox BorderRadius TextBoxNewPost" TextMode="Password"/>
                        <asp:RequiredFieldValidator runat="server" ControlToValidate="txtRePassword" ErrorMessage="xác nhận mật khẩu?" CssClass="Error"/>
                     </td>
                </tr>
                <tr>
                    <td>Nghề nghiệp</td>
                    <td>
                        <asp:TextBox runat="server" ID="txtWork" CssClass="TextBox BorderRadius TextBoxNewPost"/>
                    </td>
                </tr>
                <tr>
                    <td valign="top">Mô tả</td>
                    <td>
                        <asp:TextBox runat="server" ID="txtDes" CssClass="TextBox BorderRadius TextAreaNewPost" TextMode="MultiLine" Rows="5"/>
                    </td>
                </tr>
                <tr>
                    <td>Đường dẫn ảnh</td>
                    <td>
                        <asp:TextBox runat="server" ID="txtAvata" CssClass="TextBox BorderRadius TextBoxNewPost"/>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <asp:CheckBox runat="server" ID="CheckRegister" />
                        Tôi đồng ý với các <a href="qui_dinh_cho_dua.aspx">qui định</a> của chợ dưa
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <asp:Button runat="server" Text="Đăng ký" CssClass="ButtonLogin"/>
                    </td>
                </tr>
        </table>
        </form>
    </div>
</asp:Content>
